<script setup>
import {ref} from "vue"
import { onMounted, onUnmounted } from 'vue';

onMounted(() => {
  console.log('组件挂载了');

});

</script>

<template>
  <div>
    <span>这是资讯页</span>

  </div>
  <!-- <HelloWorld msg="组件传递的消息" /> -->
</template>

<style scoped>
span{
  /*display: flex;*/
  /*flex-direction: column;*/
  width: 100%;
  height: 500px;
  padding-left: 150px;
  padding-top: 150px;
}

</style>